package com.wuseguang.springcloud.entity;

import java.io.Serializable;

import java.util.Date;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * <p>
 * 活动可报名学生跟报名时间
 * </p>
 *
 * @author 
 * @since 2020-05-11
 */
@Entity
@Data
public class EnrolledStudents  {

    private static final long serialVersionUID = 1L;

    /**
     * 学生报名id
     */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
    /**
     * 学生id
     */
	private Integer studentId;
    /**
     * 活动id
     */
	private Integer activityId;
    /**
     * 0未报名，1已报名
     */
	private Integer state;
    /**
     * 报名时间
     */
	private Date registrationTime;

}
